package bank.utils;

import framework.account.IAccount;

/**
 * Created by IntelliJ IDEA.
 * User: elbek
 * Date: 2/22/12
 * Time: 1:07 PM
 * To change this template use File | Settings | File Templates.
 */
public class Utils {
    public static void sendEmail(IAccount account){
    	System.out.println("=====System is sending email to "+account.getCustomer().getEmail()+" !=====");
        System.out.println("Your acc number:" + account.getAccountNo());
        System.out.println("Customer type:" + account.getCustomer().getType());
        System.out.println("Current Balans:" + account.getBalance());
    }
}
